package com.lsl.gulimall.ware.dao;

import com.lsl.gulimall.ware.entity.WmsWareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品库存
 * 
 * @author liushengli
 * @email sunlightcs@gmail.com
 * @date 2021-03-15 20:06:36
 */
@Mapper
public interface WmsWareSkuDao extends BaseMapper<WmsWareSkuEntity> {

    void addStock(@Param("wareId") Long wareId, @Param("skuId")Long skuId, @Param("skuNum")Integer skuNum);
}
